import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import index from '@/components/index'
import add from '@/components/add'
import ceshi from '@/components/ceshi'
import complete from '@/components/complete'

Vue.use(Router)

export default new Router({
    routes: [{
            path: '/',
            name: 'ceshi',
            component: ceshi
        },
        {
            path: '/index',
            name: 'index',
            component: index
        },
        {
            path: '/HelloWorld',
            name: 'HelloWorld',
            component: HelloWorld
        },
        {
            path: '/add',
            name: 'add',
            component: add
        },
        {
            path: '/complete',
            name: 'complete',
            component: complete
        }
    ]
})